package com.boot4.pojo;

import lombok.*;

/**
 * @author wzm
 * @create 2024-02-28 15:17
 * project_name:JavaWeb2401
 * @Description
 */
//实体类的属性名与表中的字段一一对象
/*@Getter get方法
@Setter set方法
@EqualsAndHashCode equals和HashCode
@ToString toString方法*/
@Data //=get+set+toString+Equals+HashCode
@NoArgsConstructor //空参构造
@AllArgsConstructor //全参构造
public class User {
    private Integer id;
    private String name;
    private Short age;
    private Short gender;
    private String phone;

}
